package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 交接管理对象 per_handover_management
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerHandoverManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交接管理的唯一标识符 */
    private Long handoverId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 职务 */
    @Excel(name = "职务")
    private String office;

    /** 人员类别 */
    @Excel(name = "人员类别")
    private String peopleType;

    /** 离岗类别 */
    @Excel(name = "离岗类别")
    private String outType;

    /** 交接状态 */
    @Excel(name = "交接状态")
    private String handoverStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setHandoverId(Long handoverId) 
    {
        this.handoverId = handoverId;
    }

    public Long getHandoverId() 
    {
        return handoverId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setOffice(String office) 
    {
        this.office = office;
    }

    public String getOffice() 
    {
        return office;
    }
    public void setPeopleType(String peopleType) 
    {
        this.peopleType = peopleType;
    }

    public String getPeopleType() 
    {
        return peopleType;
    }
    public void setOutType(String outType) 
    {
        this.outType = outType;
    }

    public String getOutType() 
    {
        return outType;
    }
    public void setHandoverStatus(String handoverStatus) 
    {
        this.handoverStatus = handoverStatus;
    }

    public String getHandoverStatus() 
    {
        return handoverStatus;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handoverId", getHandoverId())
            .append("userName", getUserName())
            .append("department", getDepartment())
            .append("office", getOffice())
            .append("peopleType", getPeopleType())
            .append("outType", getOutType())
            .append("handoverStatus", getHandoverStatus())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
